package objects;

import java.io.Serializable;

public class Frac implements Serializable{
	public int num;
	public int denom;
	
	public Frac(int n, int d){
		num = n;
		denom = d;
	}
	
	public double value(){
		double nD = (double) num;
		double dD = (double) denom;
		return nD/dD;
	}
}
